package com.applet.mallappletbackstage.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * (Integral)表实体类
 *
 * @author makejava
 * @since 2020-08-14 16:40:36
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Integral extends Model<Integral> {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;
    //消耗
    private String category;
    //消耗-获取
    private String user;
    //获取积分数数量
    private Integer value;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    @TableLogic
    private Integer isDelete;
    //来源
    private String origin;
}
